#ifndef MoreDetailDialog_h__
#define MoreDetailDialog_h__

#include "Global.h"





class MoreDetailDialog
	: public ModelDialog
	, public CCBMemberVariableAssigner
	, public CCBSelectorResolver
	, public CCNodeLoaderListener
{
public:
	CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD(MoreDetailDialog, create);
	MoreDetailDialog();
	~MoreDetailDialog();

	bool init();
	void onEnter();
	void onExit();
	void refresh();
	void touchScreen();

	virtual SEL_MenuHandler onResolveCCBCCMenuItemSelector(CCObject * pTarget, CCString * pSelectorName){return NULL;}
	virtual SEL_CCControlHandler onResolveCCBCCControlSelector(CCObject * pTarget, CCString * pSelectorName){return NULL;}
	virtual bool onAssignCCBMemberVariable(CCObject * pTarget, CCString * pMemberVariableName, CCNode * pNode);
	virtual void onNodeLoaded(CCNode * pNode, CCNodeLoader * pNodeLoader){}

protected:
	
private:
	CCLabelTTF* mAttack;
	CCLabelTTF* mDefense;
	CCLabelTTF* mLife;
	CCLabelTTF* mStrength;
	CCLabelTTF* mAgility;
	CCLabelTTF* mNaiLi;
	CCLabelTTF* mQianNeng;
};
#endif // MoreDetailDialog_h__
